﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000AFF RID: 2815
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MCLBEAJCELD : IMessage<MCLBEAJCELD>, IMessage, IEquatable<MCLBEAJCELD>, IDeepCloneable<MCLBEAJCELD>, IBufferMessage
	{
		// Token: 0x1700238E RID: 9102
		// (get) Token: 0x06007E10 RID: 32272 RVA: 0x00150639 File Offset: 0x0014E839
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MCLBEAJCELD> Parser
		{
			get
			{
				return MCLBEAJCELD._parser;
			}
		}

		// Token: 0x1700238F RID: 9103
		// (get) Token: 0x06007E11 RID: 32273 RVA: 0x00150640 File Offset: 0x0014E840
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MCLBEAJCELDReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002390 RID: 9104
		// (get) Token: 0x06007E12 RID: 32274 RVA: 0x00150652 File Offset: 0x0014E852
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MCLBEAJCELD.Descriptor;
			}
		}

		// Token: 0x06007E13 RID: 32275 RVA: 0x00150659 File Offset: 0x0014E859
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MCLBEAJCELD()
		{
		}

		// Token: 0x06007E14 RID: 32276 RVA: 0x0015066C File Offset: 0x0014E86C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MCLBEAJCELD(MCLBEAJCELD other) : this()
		{
			this.nAABNLCGMHN_ = other.nAABNLCGMHN_.Clone();
			this.selectHintId_ = other.selectHintId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007E15 RID: 32277 RVA: 0x001506A2 File Offset: 0x0014E8A2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MCLBEAJCELD Clone()
		{
			return new MCLBEAJCELD(this);
		}

		// Token: 0x17002391 RID: 9105
		// (get) Token: 0x06007E16 RID: 32278 RVA: 0x001506AA File Offset: 0x0014E8AA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<RogueCommonBuff> NAABNLCGMHN
		{
			get
			{
				return this.nAABNLCGMHN_;
			}
		}

		// Token: 0x17002392 RID: 9106
		// (get) Token: 0x06007E17 RID: 32279 RVA: 0x001506B2 File Offset: 0x0014E8B2
		// (set) Token: 0x06007E18 RID: 32280 RVA: 0x001506BA File Offset: 0x0014E8BA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint SelectHintId
		{
			get
			{
				return this.selectHintId_;
			}
			set
			{
				this.selectHintId_ = value;
			}
		}

		// Token: 0x06007E19 RID: 32281 RVA: 0x001506C3 File Offset: 0x0014E8C3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MCLBEAJCELD);
		}

		// Token: 0x06007E1A RID: 32282 RVA: 0x001506D4 File Offset: 0x0014E8D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MCLBEAJCELD other)
		{
			return other != null && (other == this || (this.nAABNLCGMHN_.Equals(other.nAABNLCGMHN_) && this.SelectHintId == other.SelectHintId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007E1B RID: 32283 RVA: 0x00150724 File Offset: 0x0014E924
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.nAABNLCGMHN_.GetHashCode();
			if (this.SelectHintId != 0U)
			{
				num ^= this.SelectHintId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007E1C RID: 32284 RVA: 0x00150771 File Offset: 0x0014E971
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007E1D RID: 32285 RVA: 0x00150779 File Offset: 0x0014E979
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007E1E RID: 32286 RVA: 0x00150784 File Offset: 0x0014E984
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.SelectHintId != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.SelectHintId);
			}
			this.nAABNLCGMHN_.WriteTo(ref output, MCLBEAJCELD._repeated_nAABNLCGMHN_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007E1F RID: 32287 RVA: 0x001507D4 File Offset: 0x0014E9D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.nAABNLCGMHN_.CalculateSize(MCLBEAJCELD._repeated_nAABNLCGMHN_codec);
			if (this.SelectHintId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.SelectHintId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007E20 RID: 32288 RVA: 0x00150828 File Offset: 0x0014EA28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MCLBEAJCELD other)
		{
			if (other == null)
			{
				return;
			}
			this.nAABNLCGMHN_.Add(other.nAABNLCGMHN_);
			if (other.SelectHintId != 0U)
			{
				this.SelectHintId = other.SelectHintId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007E21 RID: 32289 RVA: 0x00150875 File Offset: 0x0014EA75
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007E22 RID: 32290 RVA: 0x00150880 File Offset: 0x0014EA80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					if (num != 98U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.nAABNLCGMHN_.AddEntriesFrom(ref input, MCLBEAJCELD._repeated_nAABNLCGMHN_codec);
					}
				}
				else
				{
					this.SelectHintId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003029 RID: 12329
		private static readonly MessageParser<MCLBEAJCELD> _parser = new MessageParser<MCLBEAJCELD>(() => new MCLBEAJCELD());

		// Token: 0x0400302A RID: 12330
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400302B RID: 12331
		public const int NAABNLCGMHNFieldNumber = 12;

		// Token: 0x0400302C RID: 12332
		private static readonly FieldCodec<RogueCommonBuff> _repeated_nAABNLCGMHN_codec = FieldCodec.ForMessage<RogueCommonBuff>(98U, RogueCommonBuff.Parser);

		// Token: 0x0400302D RID: 12333
		private readonly RepeatedField<RogueCommonBuff> nAABNLCGMHN_ = new RepeatedField<RogueCommonBuff>();

		// Token: 0x0400302E RID: 12334
		public const int SelectHintIdFieldNumber = 7;

		// Token: 0x0400302F RID: 12335
		private uint selectHintId_;
	}
}
